package com.resou.reader.api.entry;

import java.util.List;

/**
 * Created by ${Garrett} on 2018/9/4.
 * Contact me krouky@outlook.com
 */
public class CommentBean {


    private String nickName;
    private String head_pic;
    private int id;
    private long create_date;
    private String content;
    private int uid;
    private String novel_id;
    private String book_review_id;
    private String book_review_comment_id;
    private int type;
    private String level;
    private Integer praisenum;
    private int reviewCount;
    private List<ReviewlistBean> reviewlist;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHead_pic() {
        return head_pic;
    }

    public void setHead_pic(String head_pic) {
        this.head_pic = head_pic;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCreate_date() {
        return create_date;
    }

    public void setCreate_date(long create_date) {
        this.create_date = create_date;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getNovel_id() {
        return novel_id;
    }

    public void setNovel_id(String novel_id) {
        this.novel_id = novel_id;
    }

    public String getBook_review_id() {
        return book_review_id;
    }

    public void setBook_review_id(String book_review_id) {
        this.book_review_id = book_review_id;
    }

    public String getBook_review_comment_id() {
        return book_review_comment_id;
    }

    public void setBook_review_comment_id(String book_review_comment_id) {
        this.book_review_comment_id = book_review_comment_id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getPraisenum() {
        if (praisenum == null) {
            return 0;
        }
        return praisenum;
    }

    public void setPraisenum(int praisenum) {
        this.praisenum = praisenum;
    }

    public int getReviewCount() {
        return reviewCount;
    }

    public void setReviewCount(int reviewCount) {
        this.reviewCount = reviewCount;
    }

    public List<ReviewlistBean> getReviewlist() {
        return reviewlist;
    }

    public void setReviewlist(List<ReviewlistBean> reviewlist) {
        this.reviewlist = reviewlist;
    }

    public static class ReviewlistBean {
        private String nickName;
        private String head_pic;
        private int id;
        private long create_date;
        private String content;
        private int uid;
        private String novel_id;
        private String book_review_id;
        private String book_review_comment_id;
        private int type;
        private String level;
        private Integer praisenum;

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getHead_pic() {
            return head_pic;
        }

        public void setHead_pic(String head_pic) {
            this.head_pic = head_pic;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getCreate_date() {
            return create_date;
        }

        public void setCreate_date(long create_date) {
            this.create_date = create_date;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getNovel_id() {
            return novel_id;
        }

        public void setNovel_id(String novel_id) {
            this.novel_id = novel_id;
        }

        public String getBook_review_id() {
            return book_review_id;
        }

        public void setBook_review_id(String book_review_id) {
            this.book_review_id = book_review_id;
        }

        public String getBook_review_comment_id() {
            return book_review_comment_id;
        }

        public void setBook_review_comment_id(String book_review_comment_id) {
            this.book_review_comment_id = book_review_comment_id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public Integer getPraisenum() {
            if (praisenum == null) {
                return 0;
            }
            return praisenum;
        }

        public void setPraisenum(Integer praisenum) {
            this.praisenum = praisenum;
        }
    }
}
